@import url("reset.css");
body{
	overflow: hidden;
}
.hide{
	display:none;
}
select
{
	border: 1px solid #CCCCCC;
    border-radius: 3px 3px 3px 3px;
}
.sm_app_name{
	margin-top: 8px;
	font-size: 14pt;
}
.sm_main{
	width: 100%;
	overflow-x: hidden;
}
.sm_header>*,
.sm_body>*,
.sm_footer>*{
	width: 760px;
	max-width: 760px;
	margin: 0 auto;
}
.sm_body>*{
	overflow-x: hidden;
}
.sm_header>.sm_container{
	position: relative;
}
.sm_header>.sm_container .sm_switch_side{
	position: absolute;
	top: 0;
	right: 0;
}
.sm_switch_side a{
	background: url("image/btn_switch_bg_disable.png") repeat-x scroll left top transparent;
    border-radius: 0 0 7px 7px;
    /*border-right: 1px solid #E7E7E7;*/
    border-style: none solid solid;
    border-width: medium 1px 1px;
	border-color: #E7E7E7;
    display: block;
    height: 30px;
    line-height: 30px;
    text-shadow: 0 0 0 #333333;
	color: #444444;
	padding-right: 5px;
}
.sm_switch_side a:hover{
	background-image: url("image/btn_switch_bg_enable.png");
    border-color: #AFAFAF;
    /*border-right: 1px solid #AFAFAF;*/
	color:#FFFFFF;
}
.sm_switch_side a span{
	padding: 0 20px 0 25px;
	background: url("image/icon_switch_side.png") no-repeat scroll right center transparent;
}
.sm_select_fanpage {
    position: absolute;
    right: 0;
	bottom: 0;
}
.sm_select_fanpage form>*{
	vertical-align: middle;
}
.sm_select_fanpage select{
	max-width: 200px;
}
.sm_select_fanpage span.sm_button{
	display: inline-block;
    height: 25px;
    line-height: 25px;
    margin-left: 4px;
}
.sm_select_fanpage span.sm_button > a{
	color: #FFFFFF;
}
.sm_body{
	padding-top: 10px;
}
.sm_body>.sm_container{
	background:#FFFFFF;
    min-height: 300px;
}
.sm_body>.sm_container>*:first-child{
	margin-bottom: 10px;
}
.sm_footer{
	height: 64px;
	text-align: center;
}
.sm_footer>.sm_container{
	padding-top: 18px;
}
.sm_footer>.sm_container a:hover{
    text-decoration: underline;
}
.sm_message_panel {
    background-color: #FFF9D7;
    border: 1px solid #E2C822;
    padding: 10px 0 10px 0px;
	width: 90%;
	margin: 0 auto 10px auto;
}
.sm_message_panel>ul
{
	list-style: disc;
	list-style-position: inside;
}
.sm_message_panel>ul>li
{
	padding-left: 5px;
}
form.sm_form .errors{
	color:red;
}
form.sm_form .errors li{
	line-height: 18px;
    padding-top: 8px;
}
form.sm_form .hint{
	color: #999999;
	margin: 0;
}
form.sm_form .hint>*{
	vertical-align: middle;
}
form.sm_form .hint>img{
	margin-right: 6px;
}
form.sm_form dt>label{

}
form.sm_form input[type="text"],
form button,
form select{	
	height: 20px;
	padding: 2px;
	box-sizing: content-box;
    -moz-box-sizing:content-box;
    -webkit-box-sizing:content-box;
}
form.sm_form select{
	height: 20px;
    padding: 2px;
}

form.sm_form dt>label.required:before{
	color: #FF0000;
	content: "*";
	padding-right: 3px;
}

form.sm_form.advanced{

}

form.sm_form.advanced>dl>dd>fieldset>dl>dt,
form.sm_form.advanced>dl>dt.sm_inside_main_form_label,
form.sm_form.classic>dl>dt
{
	clear: left;
    float: left;
    height: 32px;
    line-height: 21px;
    padding: 0 14px;
    text-align: right;
    width: 130px;
}
form.sm_form.classic .fb_multi {
	line-height: 30px;
}
fieldset dd {
	padding-bottom: 10px; 
}
form.sm_form.advanced>dl>dd>fieldset>dl>dd,
form.sm_form.classic>dl>dd{
	float:left;
	display: block;
	padding-bottom: 20px;
	line-height: 150%;
	width: 500px;
}
form.sm_form.classic>dl>dd#fanpages-control{
    margin-top: 4px;
}

form.sm_form.advanced>dl>dt.sm_inside_main_form_label+dd{
	display: block;
	padding-bottom: 20px;
}
form.sm_form.advanced>dl>dd>fieldset>legend{
	font-weight: bold;
	font-size: 16px;
	padding-bottom: 12px;
}
form.sm_form.advanced>dl>dd>fieldset>dl>dd>*,
form.sm_form.classic>dl>dd>*{
	vertical-align: middle;
	max-width: 100%;
}
form.sm_form.advanced>dl>dd>fieldset>dl>dd.hide{
	display: none;
}
form.sm_form.advanced>dl>dd>fieldset>dl>dd textarea,
form.sm_form.classic>dl>dd textarea{
	width: 100%;
}

form.sm_form.advanced>dl>dd>fieldset>dl>dd>label,
form.sm_form.classic>dl>dd>label{
	height: 24px;
	line-height: 24px;
    font-weight: normal;
}
form.sm_form.advanced>dl>dd>fieldset>dl>dd>label>*,
form.sm_form.classic>dl>dd>label>*{
	margin-right: 4px;
}
.sm_link{
	color: #3B5998;
	cursor: pointer;	
}
.sm_button{
    border-radius: 5px 5px 5px 5px;
    color: #FFFFFF;
    cursor: pointer;
    font-family: Arial,sans-serif,"lucida grande",tahoma,verdana;
    font-size: 13px;
    font-weight: 700;
    height: 25px;
	text-align: center;
}
.sm_button.green{
    background: url("../img/btn_bg_green.png") repeat-x scroll left top #5C9443;
    border: 1px solid #385B28;
    text-shadow: 0 -1px 1px rgba(56, 91, 40, 0.25);
    width: 47px;
}
.sm_button.green.view
{
	padding:0 11px;
}
.sm_button.blue{
	background: url("../img/btn_blue.png") repeat-x scroll left top #0074B5;
    border: 1px solid #00476F;
	text-shadow:0 -1px 1px rgba(56,91,40,0.25);
}
.sm_button.blue:hover{
	background: #0074B5;
    border: 1px solid #00476F;
	text-shadow:0 -1px 1px rgba(56,91,40,0.25);
}
.sm_button.search
{
    background: url("../img/btn_blue.png") repeat-x scroll left top #0074B5;    
    text-shadow:0 -1px 1px rgba(56,91,40,0.25);
    border: 0 none;
    border-radius: 5px 5px 5px 5px;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    width: 66px;
}
.sm_button.search:hover{
	background: #0074B5;

	text-shadow:0 -1px 1px rgba(56,91,40,0.25);
}
.sm_button.green:hover{
	background: none repeat scroll 0 0 #5C9443;
    border: 1px solid #385B28;
    color: #FFFFFF;
}
.sm_button.gray{
    background: url("../img/btn_bg_gray.png") repeat-x scroll left top #DEDEDE;
    border: 1px solid #8E8E8E;
    color: #333333;
    text-shadow: 0 -1px 1px rgba(142, 142, 145, 0.25);
    width: 55px;
}
.sm_button.gray:hover{
	background: none repeat scroll 0 0 #DDDDDD;
    border: 1px solid #888888;
    color: #000000;
}
.sm_button.green2{
    background: url("../img/btn_blue.png") repeat-x scroll left top #0074B5;
    border-radius: 4px;
    color: white!important;
    padding: 5px 8px 5px 8px;
}

.sm_button.green2:hover{
	background: none repeat scroll 0 0 #03A4FE;
	text-decoration: none;
	color: white;
	padding: 5px 8px 5px 8px;
}
.sm_front_panel
{
    background:#F5F7FA;    
	border-bottom: 1px dashed #D2D2D2;
    border-top: 1px solid #E2E2E2;
    padding:10px;
}
/*Paging*/
.sm_paging
{
    clear:both;
    color:#666;
    font-size:11px;
    padding:5px 0px;
    text-align:center;
    width:100%;
}
.sm_paging li
{
    border:1px solid #ccc;
    display:inline-block;
    zoom:1;
}
.sm_paging li.disabled,
.sm_paging li.disabled:hover{
    border:1px solid #ddd;
    display:inline-block;
    zoom:1;
    padding: 3px 7px;
    background: transparent;
    color:#666!important;
}

.sm_paging li.disabled a,
.sm_paging li.disabled:hover a,
.sm_paging li.disabled a:hover{
    color:#666!important;
    font-size:11px;
}

.sm_paging li.active,
.sm_paging li:hover
{
    background:#3366ff;
    border:1px solid #00476F;
    color:#fff;
}

.sm_paging li.active{
    padding: 3px 7px;
}

.sm_paging li a
{
    color:#666;
    font-size:11px;
    padding: 3px 7px;
    display: block;
}
.sm_paging li.active a,
.sm_paging li:hover a
{
    color:#fff;
    text-decoration:none;
}
/* Grid */
.sm_grid_layout > li
{
	display: block;
	float: left;
}
.sm520 .sm_grid_layout > li
{
	width: 160px;
}
.sm810 .sm_grid_layout > li
{
	width: 190px;
}
/*Menu*/
ul.sm_menu{
}
ul.sm_menu.horizon{
}
ul.sm_menu.horizon > li{
	display:inline-block;
    float: left;
}

ul.sm_menu.horizon > li.first{
    padding-left: 20px;
    padding-right: 16px;
    width: 132px;
}

ul.sm_menu.horizon > li.second{
    padding-left: 25px;
    padding-right: 15px;
    width: 95px;
}

ul.sm_menu.horizon > li.third{
    padding-left: 25px;
    padding-right: 25px;
    width: 110px;
}

ul.sm_menu.horizon > li.fourth{
    padding-left: 20px;
    padding-right: 10px;
    width: 135px;
}

table.sm_tbl_classic {
	width: 100%;
	clear: both;
}

table.sm_tbl_classic th {
	font-weight: bold;
}

table.sm_tbl_classic thead tr > * {
	border-right: 1px solid #DADADA;	
	text-align: left;
	padding: 0;	
}

table.sm_tbl_classic thead tr > *:last-child{
	border-right: 0px none;
}

table.sm_tbl_classic thead tr {
	border-bottom: 1px solid #DADADA;
	border-top: 1px solid #DADADA;
	background-color: #F3F3F3;
	color: black;
	height: 35px;
	line-height: 35px;
}

table.sm_tbl_classic th > * {
    display: block;
    height: 100%;
    vertical-align: middle;
	padding: 0 10px;
}
table.sm_tbl_classic th > a {
    color: #000000;
}
table.sm_tbl_classic th > a span{
	display: block;
	background-repeat: no-repeat;
	background-position: right center;
	padding-right: 12px;
}
table.sm_tbl_classic th > a:hover,
table.sm_tbl_classic th > a.desc,
table.sm_tbl_classic th > a.asc{
	background: #E3E3E3;
}

table.sm_tbl_classic th > a.desc span{
    background-image: url("../img/arrow-desc.gif");
}
table.sm_tbl_classic th > a.asc span{
    background-image: url("../img/arrow-asc.gif");
}
table.sm_tbl_classic tbody tr:hover {
    background: none repeat scroll 0 0 #F7F7F7;
}

table.sm_tbl_classic tbody tr {
	color: #525252;
	font-size: 12px;	
	border-bottom: 1px dashed #CCC;
}
table.sm_tbl_classic tbody tr td{
	padding: 5px 10px;
}
table.sm_tbl_classic p{
	margin: 0;
}
table.sm_tbl_classic tbody tr td{
	overflow-x: hidden;
}
table.sm_tbl_classic tbody tr td>a{
	word-break:break-all;
	white-space: pre-line;      /* CSS 3.0 */
	white-space: -pre-wrap;     /* Opera 4-6 */
	white-space: -o-pre-wrap;   /* Opera 7 */
	white-space: -moz-pre-wrap; /* Mozilla */
	white-space: -hp-pre-wrap;  /* HP Printers */
	word-wrap: break-word;      /* IE 5+ */
	display: block;
    float: left;
	clear: left;
	line-height: 20px;
    max-width: 150px;
    white-space: pre-line;
}
.sm_paginator_item_empty{    
    float: left;
    width: 100%;
}
.sm_paginator_item_empty>p{
    margin-top: 24px;
    padding: 10px 0 10px 25px;
    background-color: #FFF9D7;
    border-bottom: 1px solid #FFE251;
    border-top: 1px solid #FFE251;   
	text-align: left;
	color: #FF0000;
}
.sm_paginator_item_empty a:hover{
	text-decoration: underline;
}
.sm_clear_left{
	clear: left; 
}
.ms_message{
	background: none repeat scroll 0 0 #F9EDBE;
    border-top: 1px solid #F0C36D;
    border-bottom: 1px solid #F0C36D;
    color: #252524;
    margin-bottom: 10px;
    padding: 5px 24px;
    text-align: center;
    overflow: hidden;
	line-height: 20px;
}
.ms_message ul{ 
	list-style: disc inside none;
	text-align: left;
}
.ms_message ul li{
	padding: 4px 0;
}
.ms_message a:hover
{
	text-decoration: underline;
}
.ym_footer {
    background-color: #FEFEFE;
    display: block;
    height: 34px;
    margin: 20px auto auto;
    clear: both;
}
.footer_contain_img {
    cursor: pointer;
    display: block;
    height: 34px;
    padding: 1px;
	width: 100%;
}
.footer_img {
    background-image: url("image/footer_image.png");
	background-position: right -32px;
    display: block;
    height: 32px;
	background-repeat:  no-repeat;
}
.social_diablog{
	position: relative;
}
.social_diablog_header{
	background: #F5F7FA;
	padding: 10px 8px;
	font-size: 16px;
}
.social_diablog_table_form{
	width: 100%;
}
.social_diablog_table_form td{
	padding: 10px 0;
}
.social_diablog_table_form .group-control input{
	width: 60px;
}
/*.footer_img:hover {
	background-position: right -32px;
}*/

.form_search
{
	margin-left: 10px;
    margin-right: 10px;
    text-align: center;
	margin-bottom: 10px;
}

.underline:hover
{
	text-decoration: underline;
}

.sm_paginator_item_empty
{
	border: 1px solid #DADADA;
    color: #999999;
    font-weight: bold;
    padding: 150px 0;
    text-align: center;
    vertical-align: middle;    
	width: 738px;
	margin-left: 10px;
	margin-bottom: 10px;
}

.greenbutton {
	background-image: url("../img/greenbutton.png");
	background-repeat: repeat-x;
	border: none;
	border-radius: 3px;
	border: solid 1px #eaeaea;
	color: #FFFFFF;
	cursor: pointer;
	font-family: Arial,sans-serif,"lucida grande",tahoma,verdana;   
	font-size: 13px;   
	font-weight: bold;    
	height: 24px;
	padding-bottom: 2px;
	padding-left: 5px;
	padding-right: 5px;
	
}
.greenbutton.view
{
	margin-left: 2px;
	padding-right: 8px;
	padding-top: 4px;
	padding-bottom: 4px;
	margin-right: -4px \9;
}
.greenbutton.view>a
{
	color:#FFFFFF;
}
.greenbutton:hover {
	background-image: url("../img/greenbutton.png");
	background-repeat: repeat-x;
	border-radius: 3px;
	border: solid 1px #999999;
}

.graybutton {
	background-image: url("../img/graybutton.png");
	background-repeat: repeat-x;
	border: none;
	border-radius: 3px;
	border: solid 1px #eaeaea;
	color: #666666;
	cursor: pointer;
	font-family: Arial,sans-serif,"lucida grande",tahoma,verdana;   
	font-size: 13px;   
	font-weight: bold;    
	height: 24px;
	padding-bottom: 2px;
	padding-left: 5px;
	padding-right: 5px;
}
.graybutton:hover {
	background-image: url("../img/graybutton.png");
	background-repeat: repeat-x;
	border: none;
	border-radius: 3px;
	color: #666666;
	cursor: pointer;
	font-family: Arial,sans-serif,"lucida grande",tahoma,verdana;   
	font-size: 13px;   
	font-weight: bold;    
	height: 24px;
	border: solid 1px #999999;
}

.spacing
{
	margin-right: 5px;
}

.bordernone
{
	border:none;
}

/** main.css **/

.sm_main{
	background-color: #E1E1E1;
}

ul.menu_contest_form{
	padding: 16px 60px 0;
}
ul.menu_contest_form li.steps span{
	background-repeat: no-repeat;
    color: white;
    display: block;
    float: left;
    font-weight: bold;
	font-size: 10px;
    height: 17px;
    line-height: 17px;
    padding-left: 6px;
    vertical-align: middle;
    width: 12px;
}

.timeline_progress_bar{	
	padding: 0 60px 20px;
    clear: both;
}

.timeline_progress_bar span{
	display: block;
	float: left;	
	height: 8px;
}

.timeline_progress_bar #progress-main{	
	width: 632px;
}

.timeline_progress_bar #progress-finished{
	width: 20px;
}

.timeline_progress_bar #progress-remain{	
	width: 430px;
}

ul.menu_contest_admin{
	height: 38px;
}
ul.menu_contest_admin a{
	color: #FFFFFF;
	padding: 0 10px;
	line-height: 30px;
	height: 30px;
	display: block;
}
ul.menu_contest_admin a:hover{
	color: #3B5998;
}
ul.menu_contest_admin>li{
	height: 30px;
	margin: 8px 5px 0 5px;
	border-radius: 5px 5px 0 0;
    display: block;
	float: left;
}
ul.menu_contest_admin>li:hover{
	background-color:#FFFFFF;
}
ul.menu_contest_admin>li.active{
	background-color:#FFFFFF;
}
ul.menu_contest_admin li.active>a{
	color: #3B5998;
}
ul.menu_contest_admin>li ul{
	display: none;
}

.contest_detail ol,
.contest_detail ul{
	margin: 13px 0;
	padding-left: 20px;
}
.contest_detail ol{
	list-style-type: decimal;
}
.contest_detail ul{
	 list-style-type: disc;
}
.container-report{
	padding-left: 8px;	
}
.container-report li{
	padding-bottom: 4px;
}

.sm_listfan input[type="radio"],
.sm_listfan input[type="checkbox"],
.sm_form.classic input[type="radio"],
.sm_form.classic input[type="checkbox"],
.sm_form.advanced input[type="radio"],
.sm_form.advanced input[type="checkbox"]
{
    vertical-align: sub;
    margin: 3px 4px 3px 4px;
    height: 15px;
}
.sm_form.classic a:hover{
	text-decoration: underline;
}

.align-right-middle
{
	display: block;
	float: right;
	vertical-align: middle;
}
.list-categories{
	margin-left: 10px;	
	width: 741px;
	overflow: hidden;
}
.bread-crumb{
	margin-bottom: 10px;
	width: 100%;
}
.bread-crumb tr td{
	padding-right: 10px;
}
.bread-crumb tr td:first-child{
	padding-left: 10px;
}
.sm_reset_link:hover
{
	border: none;
	background: none;
	color:#3366ff;
	text-decoration: underline;
}

.sm_input
{
	color:#CCCCCC;
    border: 1px solid #CCCCCC;
    border-radius: 3px 3px 3px 3px;
    font-size: 13px;
    padding: 2px;
    width: 348px;
}
.sm_select
{
    border: 1px solid #CCCCCC;
    border-radius: 3px 3px 3px 3px;
	color:#CCCCCC;
    font-size: 13px;
    height: auto;
    padding: 1px;
    width: 150px;
}
.sm_select option{
	color: #000000;
}
.sm_select option:first-child{
	color: #cccccc;
}
.sm_reset_link
{
	border: none;
	background: none;
	color: blue;
	cursor: pointer;
}
.sm_reset_link:hover
{
	border: none;
	background: none;
	color:#3366ff;
	text-decoration: underline;
}
code
{
	font-family: "lucida grande",tahoma,verdana,arial,sans-serif!important;
	font-weight: bold;
}

option[selected="selected"] 
{
 color: #000000;
}
#reload:hover
{
	text-decoration: none;
}
ul.product_images {
	margin-top:4px;
	margin-left:9px;
	text-align: center;
}
.product_images li {
	border: 1px solid #EAEAEA;
    line-height: 43px;
    height: 45px;
    float: left;
    margin-right: 10px;
    display: inline-block;
    width: 45px;
    overflow:hidden;
}
.product_images li > * {
	vertical-align: middle;
}
.product_images li a {
	margin: 0 auto;
}
.product_images li>* {
	vertical-align: middle;
}
.product_images img {
	max-width: 45px; 
	max-height:45px;
	border:none;
	vertical-align: middle;
	overflow:hidden;
	display:inline-block;
}
.en_image {
	z-index:20; 
	top:0; 
	right:0; 
	display:none; 
	width:85px; 
	height:85px; 
	position:absolute; 
	background-color:#ffffff; 
	text-align:center;
	border: 1px solid #eaeaea;
	line-height: 80px;
}
.en_image img {
	max-width:85px; 
	max-height:85px;
	vertical-align: middle;
}
.price_description
{
	display: inline;
	color: #999999;
}

#is_allow_comment{
    float: left;
    margin-right: 10px;
}

div.msg_panel{
    color: red;
    background-color: #FFF9D7;
    border-top: 1px solid #E2C822;
    padding: 7px;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #E2C822;
    text-align: center;
}
div.msg_panel p{
    margin: 0;
}
.sm_btn.green {
    background-color: #55893E;
    background-image: url("../img/btn_green.png");
    border: 1px solid #385B28;
    border-radius: 4px 4px 4px 4px;
}